#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    w.setWindowIcon(QIcon(QCoreApplication::applicationDirPath() + "/q4.ico"));
    /*adding QCoreApplication... permits to call the application from everywhere
    the problem was, that if we called the application in windows start's menu,
    the application hadn't ico and any algorithms*/
    w.show();

   return a.exec();

}
